package com.gitee.somenvm.ninerpgitem.util

import org.bukkit.command.CommandSender
import taboolib.module.chat.colored

fun CommandSender.success(vararg info: String) {
    info.forEach {
        this.sendMessage(" &f|  &aNineRpgItem  &f|&a $it".colored())
    }
}

fun CommandSender.info(vararg info: String) {
    info.forEach {
        this.sendMessage(" &f|  &bNineRpgItem  &f|&7 $it".colored())
    }
}

fun CommandSender.failed(vararg info: String) {
    info.forEach {
        this.sendMessage(" &f|  &cNineRpgItem  &f|&e $it".colored())
    }
}

fun CommandSender.error(vararg info: String) {
    info.forEach {
        this.sendMessage(" &f|  &4NineRpgItem  &f|&c $it".colored())
    }
}

fun CommandSender.debug(info: String) {
    info.forEach {
        this.sendMessage(" &f|  &4NineRpgItem  &f|&b $it".colored())
    }
}